%ion-modal-view#get-pass-page(ng-controller="GetPassCtrl")
  %ion-header-bar.bar-furion(align-title="center")
    %button.back-button(ng-click="goBack()")
    %h1.title 重置密码

  %ion-content
    .list.list-divided.margin-top-10
      .item.item-input.dark-blue
        .input-label.dark-blue 手机号
        %input(type="tel" placeholder="请输入手机号" ng-model="account.phone" ng-change="changeInput()" ng-focus="needMirror=true" ng-blur="needMirror=false" ng-if="!isLogin")
        %input(type="tel" ng-model="account.phone" readOnly="read" ng-if="isLogin" style="background-color: transparent")
      .mirror-strip(ng-if="needMirror != null" ng-class="{true: 'mirrorIn', false: 'mirrorOut'}[needMirror]") {{account.phone}}
      .divider
      .item.item-input.dark-blue
        .input-label.dark-blue 新登录密码
        %input(type="password" placeholder="请输入新登录密码" ng-model="account.password" ng-change="changeInput()")
      .divider
      .item.item-input.dark-blue
        .input-label.dark-blue 密码确认
        %input(type="password" placeholder="再输入一次新登录密码" ng-model="account.confirm_password" ng-change="changeInput()")
      .divider
      .item.item-input.dark-blue.row
        .col.col-25.dark-blue.padding-left-10 验证码
        %input.col.col-33.no-padding.margin-right-10(type="tel" placeholder="请输入验证码" ng-model="account.vcode" ng-change="changeInput()")
        %a.col.send-code-button(on-touch="sendCode()")
          {{ vcode_reject_waiting.reset_password ? '再次发送(' + vcode_reject_waiting.reset_password + ')' : '发送验证码' }}

    .text-center.padding-20
      %button.furion-button(ng-disabled="!canSubmit" ng-click="doResetPassword()") 完成
